package com.norns.torque.entrty;

import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;

import java.util.List;

@Dao
public interface WifiDeviceDao {

    @Query("SELECT * FROM Device")
    List<WifiDevice> getAll();

    @Delete
    void delete(WifiDevice device);

    @Insert
    void insert(WifiDevice device);
}
